package com.cn.crmsystem.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value = "Department:部门基本数据类型")
public class Department implements Serializable{
    @ApiModelProperty("部门编号")
    private Integer departmentId;
    @ApiModelProperty("部门名称")
    private String departmentName;
    @ApiModelProperty("部门备注说明")
    private String description;
    @ApiModelProperty("删除状态:(0:显示;1:隐藏)")
    private Integer delete_state;
    @ApiModelProperty("部门领导id关联user_id")
    private Integer leader_id;
    @ApiModelProperty("部门领导名字(联查)")
    private String leader_name;
    @ApiModelProperty("上次修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date last_change_time;
    @ApiModelProperty("当前账号操作人名字")
    private String operator_name;

    public String getOperator_name() {
        return operator_name;
    }

    public void setOperator_name(String operator_name) {
        this.operator_name = operator_name;
    }

    public String getLeader_name() {
        return leader_name;
    }

    public void setLeader_name(String leader_name) {
        this.leader_name = leader_name;
    }

    public Date getLast_change_time() {
        return last_change_time;
    }

    public void setLast_change_time(Date last_change_time) {
        this.last_change_time = last_change_time;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getDelete_state() {
        return delete_state;
    }

    public void setDelete_state(Integer delete_state) {
        this.delete_state = delete_state;
    }

    public Integer getLeader_id() {
        return leader_id;
    }

    public void setLeader_id(Integer leader_id) {
        this.leader_id = leader_id;
    }
}
